package com.tinyshardingjdbc.tinyshardingjdbc.demo.model.vetcvehiclebill.controller;

import com.tinyshardingjdbc.tinyshardingjdbc.demo.model.vetcvehiclebill.domain.form.VetcVehicleBillQueryForm;
import com.tinyshardingjdbc.tinyshardingjdbc.demo.model.vetcvehiclebill.service.VetcVehicleBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;



@RestController
public class VetcVehicleBillController {

    @Autowired
    private VetcVehicleBillService vetcVehicleBillService;


    @PostMapping("/vetcVehicleBill/queryPage")
    public Object queryPage(@RequestBody VetcVehicleBillQueryForm queryForm) {
        return vetcVehicleBillService.queryPage(queryForm);
    }

    @PostMapping("/vetcVehicleBill/test")
    public Object test() {
        return vetcVehicleBillService.test();
    }



}
